package com.wkbb.sports.model;

import com.wkbb.common.dto.HkBodyCompositionInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

//体成分数据
@Data
public class HkBodyComposition implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "体测标识")
    private Long measureId;
    @ApiModelProperty(value = "三方唯一标识")
    private String thirdId;
    @ApiModelProperty(value = "体重数据")
    private HkBodyCompositionInfo weight;
    @ApiModelProperty(value = "BMI数据")
    private HkBodyCompositionInfo bmi;
    @ApiModelProperty(value = "脂肪率数据")
    private HkBodyCompositionInfo fatPer;
    @ApiModelProperty(value = "脂肪量数据")
    private HkBodyCompositionInfo fatMass;
    @ApiModelProperty(value = "肌肉量数据")
    private HkBodyCompositionInfo muscleMass;
    @ApiModelProperty(value = "身体水分数据")
    private HkBodyCompositionInfo bodyMoisture;
    @ApiModelProperty(value = "内脏脂肪数据")
    private HkBodyCompositionInfo visceralfat;
    @ApiModelProperty(value = "基础代谢数据")
    private HkBodyCompositionInfo basalMetabolism;
    @ApiModelProperty(value = "蛋白质数据")
    private HkBodyCompositionInfo protein;
    @ApiModelProperty(value = "无机盐数据")
    private HkBodyCompositionInfo mineralSalt;
    @ApiModelProperty(value = "骨骼肌数据")
    private HkBodyCompositionInfo skeletalMuscle;
    @ApiModelProperty(value = "腰臀比数居")
    private HkBodyCompositionInfo waistHipRatio;
    @ApiModelProperty(value = "去脂体重")
    private HkBodyCompositionInfo leanBodyWeight;
    @ApiModelProperty(value = "体重调节")
    private String regulationWeight;
    @ApiModelProperty(value = "脂肪调节")
    private String regulationFat;
    @ApiModelProperty(value = "肌肉调节")
    private String regulationMuscle;
    @ApiModelProperty(value = "体型评价")
    private Integer shapeEvaluation;
    @ApiModelProperty(value = "体成分分数")
    private String score;

    public void initData(HkBody data){
        measureId = data.getMeasureId();
        thirdId = data.getThirdId();
    }

}
